package defaulPackage;
public class Reply {
	private Profile profile;
	private String message;

	public Reply(Profile profile, String message) {
		this.profile = profile;
		this.message = message;
	}

	public Profile getProfile() {
		return profile;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	public boolean match(Reply reply){
		if (!message.equals(reply.getMessage())) return false;
		if (!reply.getProfile().match(profile));
		return true;
	}

}
